﻿/********************************************************************************************************************
* Author:	Aristidis Mihail																						*
* Email:	std03055@di.uoa.gr																						*
* Purpose:	This script is used in order to create the stored procedure "usp_category_add_userToCategoty" that adds	*
*			a user to a private category.																			*
********************************************************************************************************************/

CREATE PROCEDURE [dbo].[usp_category_add_userToCategory]
	@catID nvarchar(50),
	@userid bigint
AS
	INSERT INTO [Category-User]
	VALUES (@catID,@userid)


RETURN 0